import React, { Component } from 'react';
import { View } from 'react-native';
import { CheckBox } from 'iftide';

export default class Basic3 extends Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <View>
                <CheckBox
                    label='记住用户名'
                    value='记住用户名'
                    fontSize='bottom'
                    color='description'
                    onChange={(checked, value) => alert(value + ' - ' + checked)}
                />
            </View>
        );
    }
}